package org.elfen.common;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Token implements Serializable {
	private String userId;
	private String userName;
	private String tokenKey;
	private Long time;
	
	public String getTokenKey() {
		return tokenKey;
	}

	public void setTokenKey(String tokenKey) {
		this.tokenKey = tokenKey;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Long getTime() {
		return time;
	}

	public void setTime(Long time) {
		this.time = time;
	}

	@Override
	public String toString() {
		return "Token [userId=" + userId + ", userName=" + userName
				+ ", tokenKey=" + tokenKey + ", time=" + time + "]";
	}
}
